package tk.djcrazy.instantmessage.service;

import tk.djcrazy.instantmessage.domain.FriendShip;

public interface IFriendshipService  {
	public void addFriendShipById(int master, int slave);

	public void addFriendShipById(int master, int slave, String nickName);

	public void addFriendShipByName(int uid, String friendName, int groupId);

	public void addFriendShipByName(int uid, String friendName, String nickName, int groupId);
	
	public void setFriendNickName(int masterId, int slaveId, String nickName);

	public void create(FriendShip baseBean);

	public void delete(FriendShip baseBean);
	
	public FriendShip findFriendShip(int masterId, int slaveId);
	
	public void deleteFriendShip(int master, int slave);
}
